home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-10-16 | 1.1 KB | 43 lines |
- #!amu
- # makefile to build gif2rpc
- # Freeware
-
- CC = cc -c -IC: -throwback -ffah -fussy -Otime -DNDEBUG
- AS = objasm -Stamp -NoCache -CloseExec -Quit -Throwback
- LINK = link -o $@ -map -list o.map
-
- #CC = cc -c -IC: -throwback -fah -g -fussy
- #AS = objasm -Stamp -NoCache -CloseExec -Quit -Throwback -g
- #LINK = link -o $@ -d -map -list o.map
-
- .SUFFIXES: .o .c
- .c.o:; $(CC) -o $@ $<
- .s.o:; $(AS) -o $@ $<
-
- LIBS = CLib:o.stubs \
- OS:o.OSLib \
- 16bpp_66bit.o.16bpp_66bit \
- 16bpp_48bit.o.16bpp_48bit \
- 8bpp.o.8bpp
- OBJS = o.calcpixtrans o.gif2rpc o.map16bpp o.map8_accurate o.map8_quick o.map16_accurate
-
- # Final targets:
- gif2rpc: $(OBJS) $(LIBS)
- $(LINK) $(OBJS) $(LIBS)
-
- 16bpp_66bit.o.16bpp_66bit: 16bpp_66bit.h.* 16bpp_66bit.c.*
-
- 16bpp_48bit.o.16bpp_48bit: 16bpp_48bit.h.* 16bpp_48bit.c.*
-
- 8bpp.o.8bpp: 8bpp.h.* 8bpp.c.*
-
- clean:
- create o.dummy
- wipe o.* ~cf
- create 16bpp_48bit.o.dummy
- wipe 16bpp_48bit.o.* ~cf
- create 16bpp_66bit.o.dummy
- wipe 16bpp_66bit.o.* ~cf
- create 8bpp.o.dummy
- wipe 8bpp.o.* ~cf
-